package fuzzylizard.teamdocs.services;

import fuzzylizard.teamdocs.dao.UserDaoImpl;
import fuzzylizard.teamdocs.dao.UserDaoInt;
import fuzzylizard.teamdocs.domain.User;

public class UserServiceImpl implements UserService {

    private UserDaoInt userDao = new UserDaoImpl();
    
    public User findUser(String username, String password) {
        return userDao.findUser(username, password);
    }

    public void setUserDao(UserDaoInt userDao) {
        this.userDao = userDao;
    }
}
